package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Stockincome;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface StockincomeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Stockincome record);

    Stockincome selectByPrimaryKey(Long id);

    List<Stockincome> selectAll();

    int updateByPrimaryKey(Stockincome record);

    List<Stockincome> queryForList(QueryObject qo);

    List<Stockincome> getStockById(Long id);



    Stockincome getStockBySn(String sn);

    void deleteBySn(String sn);

    void updateState(Stockincome income);

    Stockincome selectByBillId(Long billId);

    List<Stockincome> queryForExport(QueryObject qo);
}